<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="icon" type="image/ico" href="${pageContext.request.contextPath}/img/network.gif" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/styles/styles.css" type="text/css">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
<title>Error</title>
</head>
<body>
	<div id="wrapper">
		<div id="header">
			<%@ include file="/WEB-INF/jspf/header.jspf"%>
		</div>
		<!-- #header-->
		<div id="content" class="error_page">
			<%-- if was gotten error 404 or 500--%>
			<c:set var="code" value="${requestScope['javax.servlet.error.status_code']}" scope="page" />
			<c:if test="${code == '404'}">
				<c:set var="errorMessage" value="page not found" scope="page" />
			</c:if>
			<c:if test="${code == '500'}">
				<c:set var="errorMessage" value="internal server error" scope="page" />
			</c:if>
			<span id="error_main_message"> 
				<ct:i18n propertyKey="page.error.page.The_following_error_occurred"/>
			</span><br> 
			<span id="error_detail_message"> 
			     <c:if test="${not empty code}">
					<ct:i18n propertyKey="page.error.page.Error_code"/>:<c:out value="${code}" /><br><br>
				</c:if> 
			     <c:if test="${not empty errorMessage}">
			        <br>
						<c:out value="${errorMessage}" />
				</c:if>
			</span>
		</div>
		<!-- #content-->
	</div>
	<!-- #wrapper -->
	<div id="footer">
		<%@ include file="/WEB-INF/jspf/footer.jspf"%>
	</div>
	<!-- #footer -->
</body>
</html>